<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>菁霖商务信息咨询有限公司</title>
    <link rel="stylesheet" href="./static/plugins/layui/css/layui.css" />
    <link type="text/css" rel="stylesheet" href="./static/css/toastr.css"/>
    <link type="text/css" rel="stylesheet" href="./static/css/sweetalert.css"/>
    <style>
      .layerMR{
        margin-right: 10px;
      }
      .layui-form-select dl { max-height:150px; }
    </style>
</head>
<body>
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
        </div>
        <div class="layui-body" style="left: 0;z-index: 0;">
            <div style="margin-top: 5px;padding-left: 10px;">
                <div class="layui-inline">
                    <input class="layui-input" name="id" id="searchStr" autocomplete="off"
                           placeholder="搜索">
                </div>
                <button class="layui-btn" id="searchBtn">搜索</button>
                <button class="layui-btn" id="addUserBtn">添加</button>
            </div>
            <div style="padding-left: 10px;padding-right: 10px;" id="userTableDiv">
                <table class="layui-hide" id="userTab"></table>
            </div>
        </div>

        <div class="layui-footer" style="left: 0px;text-align: center;">
            © 四川菁霖商务信息咨询有限公司
        </div>
    </div>

</body>

<div id="layerOpen" style="height:380px;width: 600px; display: none" >
    <form class="layui-form" style="margin-top: 20px;" lay-filter="userForm">
        <div class="layui-form-item">
            <label class="layui-form-label" >用户名<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <input id="userIdInput" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" >密码<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <input id="passwordInput" type="password" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" >用户姓名<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <input id="userNameInput" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" >用户角色<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <select id="userRoleSelect" lay-verify="required" name="userRoleSelect">
                </select>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" >用户部门<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <select id="userDeptSelect" lay-verify="required" name="userDeptSelect">
                </select>
            </div>
        </div>

        <div class="layui-form-item layerMR" style="text-align: right;">
            <button class="layui-btn" type="button" id="saveUserBtn">保存</button>
            <button class="layui-btn" type="button" id="cancelBtn">取消</button>
            <input type="hidden" id="editUserId">
        </div>
    </form>
</div>
<div id="layerOpen1" style="height:420px;width: 600px; display: none" >
    <form class="layui-form" style="margin-top: 20px;" lay-filter="userForm">
        <div class="layui-form-item">
            <label class="layui-form-label">转移到：</label>
            <div class="layui-input-block layerMR">
                <select id="userSelect" lay-verify="required" lay-search="" name="userSelect">
                </select>
            </div>
        </div>

        <div class="layui-form-item layerMR" style="text-align: right;margin-top: 305px;">
            <button class="layui-btn" type="button" id="transferBtn">确认转移</button>
            <input type="hidden" id="transferUserId">
        </div>
    </form>
</div>


<script type="text/javascript" src="./static/plugins/jquery/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="./static/plugins/layui/layui.js"></script>
<script type="text/javascript" src="./static/js/toastr.js"></script>
<script type="text/javascript" src="./static/js/toastrUtil.js"></script>
<script type="text/javascript" src="./static/js/sweetalert.js"></script>
<script type="text/javascript" src="./static/js/common.js"></script>
<script type="text/javascript" src="./static/js/zl/usermanage.js"></script>
<!--登陆操作 -->
<script>
  //JavaScript代码区域
  layui.use('element', function(){
    var element = layui.element;
  });
</script>
</html>